<template>
    <div>
      <div class="xuzhicontent">

        <div class="xzcc">
          <h3>提示</h3>
          <p>本人同意在共青城注册个体工商户，并委托查瑶清办理工商、税务等事宜，由此带来的一切法律责任由本人承担。
            <br><br>委托代理人的委托事项主要包括：办理名称预先核准、开业登记、变更登记和注销登记等，并有更正有关材料的权限。</p>
        </div>

        <div class="xzbtn">


          <div class="bitem">
            <label @click="close()">取消</label>
          </div>
          <div class="bitem">
            <label  class="okbtn" v-if="shb" @click="callback()" >确定</label>
            <label  class="okbtn" style="background: #CCC;border:none;"  v-if="!shb" >{{timers}}S</label>
          </div>


        </div>
      </div>

    </div>
</template>

<script>
  export default {
    name: "xuzhi",
    data(){
      return{
        timers:5,
        shb:false,
      }
    },
    created(){
      var t = setInterval(()=>{
        if(this.timers<=0){
          this.shb = true;
          clearInterval(t)
        }
        this.timers--;
      },1000)

    },
    methods:{}
  }
</script>

<style lang="scss" scoped>
  .xzcc{
    padding:20px;
    text-align: center;
    h3{font-size:16px;font-weight: 400; padding:15px; margin:0;padding:0;}
    p{
      font-size:14px;
      text-align: left;
      color:#666;
    }
  }
  .xzbtn{
    display: flex;
    .bitem{
      width:50%;

      label{
        margin:0 10px;
        padding:12px 10px;
        border:1px solid #CCC;
        color:#666;
        border-radius: 5px;
        font-size:14px;
        display: block;
        text-align: center;
      }
      .okbtn{
        background: #1c67ff;
        color:#FFF;
        border:1px solid #1c67ff;
      }
    }

  }

  .xuzhicontent{
    margin-top:20%;
    .xztips{
      font-size:12px;color:#666;padding:10px 5px;
      text-align: center;
    }
    background: #FFF;
    margin:0 auto;
    overflow: hidden;
    border-radius: 5px;
    img{width:100%;}
    .xzbtn{
      text-align: center;
      padding:10px 10px 20px 10px;
    }
  }
</style>
